package dfbz.homework6;

public class test {
    public static void main(String[] args) {
        Manager manager=new Manager(110,"老王",10000.0);
        Cook cook=new Cook(108,"小王",6000.0);
        manager.eat();
        manager.work();
        cook.eat();
        cook.work();
    }
}
